package com.meituan.service;

import com.meituan.dao.StoresDao;
import com.meituan.pojo.dto.OrderMessageDto;
import com.meituan.pojo.resp.BaseOrderResp;

import java.util.List;

//订单表service
public interface OrderService {

    List<BaseOrderResp> findByAllId(int uid, int sid, int gid);

    boolean updateGnum(int oid, int gnum_new);

    boolean deleteByOid(Integer oid);

    List<StoresDao> findShopping(int uid);

    List<StoresDao> findHistoryShopping(int uid);

    OrderMessageDto fingOneOrder(Integer uid,Integer sid, Integer oid);

    boolean payComplete(int oid);
}
